Imports DevExpress.XtraBars

Public Class PhoenixSharedComponents
    Inherits System.ComponentModel.Component

#Region " Component Designer generated code "

    Public Sub New(ByVal Container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        Container.Add(Me)
    End Sub

    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Component overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    Friend WithEvents mBarAndDockingController As DevExpress.XtraBars.BarAndDockingController
    Friend WithEvents mLargeListImagesLow As System.Windows.Forms.ImageList
    Friend WithEvents mLargeListImagesHigh As System.Windows.Forms.ImageList
    Friend WithEvents mSmallListImagesHigh As System.Windows.Forms.ImageList
    Friend WithEvents mSmallListImagesLow As System.Windows.Forms.ImageList
    Friend WithEvents mLargeToolImagesLow As System.Windows.Forms.ImageList
    Friend WithEvents mLargeToolImagesHigh As System.Windows.Forms.ImageList
    Friend WithEvents mSmallToolImagesLow As System.Windows.Forms.ImageList
    Friend WithEvents mSmallToolImagesHigh As System.Windows.Forms.ImageList
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(PhoenixSharedComponents))
        Me.mLargeListImagesLow = New System.Windows.Forms.ImageList(Me.components)
        Me.mBarAndDockingController = New DevExpress.XtraBars.BarAndDockingController(Me.components)
        Me.mLargeListImagesHigh = New System.Windows.Forms.ImageList(Me.components)
        Me.mSmallListImagesHigh = New System.Windows.Forms.ImageList(Me.components)
        Me.mSmallListImagesLow = New System.Windows.Forms.ImageList(Me.components)
        Me.mLargeToolImagesLow = New System.Windows.Forms.ImageList(Me.components)
        Me.mLargeToolImagesHigh = New System.Windows.Forms.ImageList(Me.components)
        Me.mSmallToolImagesLow = New System.Windows.Forms.ImageList(Me.components)
        Me.mSmallToolImagesHigh = New System.Windows.Forms.ImageList(Me.components)
        CType(Me.mBarAndDockingController, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'mLargeListImagesLow
        '
        Me.mLargeListImagesLow.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit
        Me.mLargeListImagesLow.ImageSize = New System.Drawing.Size(32, 32)
        Me.mLargeListImagesLow.ImageStream = CType(resources.GetObject("mLargeListImagesLow.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mLargeListImagesLow.TransparentColor = System.Drawing.Color.Transparent
        '
        'mBarAndDockingController
        '
        Me.mBarAndDockingController.PropertiesBar.AllowLinkLighting = False
        '
        'mLargeListImagesHigh
        '
        Me.mLargeListImagesHigh.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit
        Me.mLargeListImagesHigh.ImageSize = New System.Drawing.Size(32, 32)
        Me.mLargeListImagesHigh.ImageStream = CType(resources.GetObject("mLargeListImagesHigh.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mLargeListImagesHigh.TransparentColor = System.Drawing.Color.Transparent
        '
        'mSmallListImagesHigh
        '
        Me.mSmallListImagesHigh.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit
        Me.mSmallListImagesHigh.ImageSize = New System.Drawing.Size(16, 16)
        Me.mSmallListImagesHigh.ImageStream = CType(resources.GetObject("mSmallListImagesHigh.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mSmallListImagesHigh.TransparentColor = System.Drawing.Color.Transparent
        '
        'mSmallListImagesLow
        '
        Me.mSmallListImagesLow.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit
        Me.mSmallListImagesLow.ImageSize = New System.Drawing.Size(16, 16)
        Me.mSmallListImagesLow.ImageStream = CType(resources.GetObject("mSmallListImagesLow.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mSmallListImagesLow.TransparentColor = System.Drawing.Color.Transparent
        '
        'mLargeToolImagesLow
        '
        Me.mLargeToolImagesLow.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit
        Me.mLargeToolImagesLow.ImageSize = New System.Drawing.Size(24, 24)
        Me.mLargeToolImagesLow.ImageStream = CType(resources.GetObject("mLargeToolImagesLow.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mLargeToolImagesLow.TransparentColor = System.Drawing.Color.Transparent
        '
        'mLargeToolImagesHigh
        '
        Me.mLargeToolImagesHigh.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit
        Me.mLargeToolImagesHigh.ImageSize = New System.Drawing.Size(24, 24)
        Me.mLargeToolImagesHigh.ImageStream = CType(resources.GetObject("mLargeToolImagesHigh.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mLargeToolImagesHigh.TransparentColor = System.Drawing.Color.Transparent
        '
        'mSmallToolImagesLow
        '
        Me.mSmallToolImagesLow.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit
        Me.mSmallToolImagesLow.ImageSize = New System.Drawing.Size(16, 16)
        Me.mSmallToolImagesLow.ImageStream = CType(resources.GetObject("mSmallToolImagesLow.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mSmallToolImagesLow.TransparentColor = System.Drawing.Color.Transparent
        '
        'mSmallToolImagesHigh
        '
        Me.mSmallToolImagesHigh.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit
        Me.mSmallToolImagesHigh.ImageSize = New System.Drawing.Size(16, 16)
        Me.mSmallToolImagesHigh.ImageStream = CType(resources.GetObject("mSmallToolImagesHigh.ImageStream"), System.Windows.Forms.ImageListStreamer)
        Me.mSmallToolImagesHigh.TransparentColor = System.Drawing.Color.Transparent
        CType(Me.mBarAndDockingController, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub

#End Region

#Region " Shared Components "
    Public ReadOnly Property LargeListImages() As ImageList
        Get
            Return mLargeListImagesHigh
        End Get
    End Property


    Public ReadOnly Property ListImages() As ImageList
        Get
            If AppConfig.LargeIcons Then
                Return mLargeListImagesHigh
            Else
                Return mSmallListImagesHigh
            End If
        End Get
    End Property

    Public ReadOnly Property ToolImages() As ImageList
        Get
            If AppConfig.LargeIcons Then
                Return mLargeToolImagesHigh
            Else
                Return mSmallToolImagesHigh
            End If
        End Get
    End Property

    Public ReadOnly Property BarAndDockingController() As BarAndDockingController
        Get
            Return mBarAndDockingController
        End Get
    End Property
#End Region

End Class
